package com.zg.indiv.domain.req.selector;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
* @author lixin
*/
@Data
public class IndivSelectorEditFormReq {
    @ApiModelProperty(value = "选择器表单关联id", required = true)
    @NotNull(message = "【选择器表单关联id】字段不能为NULL")
    private Long selectorFormId;

    @ApiModelProperty(value = "上级选择器表单关联id")
    private Long parentSelectorFormId;

    @ApiModelProperty(value = "表单id", required = true)
    @NotNull(message = "【表单id】字段不能为NULL")
    private Long formId;

    @ApiModelProperty(value = "目录id", required = true)
    @NotNull(message = "【目录id】字段不能为NULL")
    private Long folderId;

    @ApiModelProperty(value = "表单参数")
    private List<IndivSelectorFormParamReq> formParamList;
}
